package com.updateeproject.service;

import com.updateeproject.dataobject.UserDO;
import com.updateeproject.error.BusinessException;
import com.updateeproject.model.UserModel;

//接着去搞实现类，先创建一个impl包，用来放实现类
public interface UserService {
    //通过用户ID获取用户对象的方法
    UserDO getUserById(Integer id);

    void register(UserModel userModel) throws BusinessException;
}
